Debug keyhandlers for triggering an NMI and examine current NMI state.
authorIan.Campbell@xensource.com <Ian.Campbell@xensource.com>
Fri, 13 Jan 2006 14:59:40 +0000 (14:59 +0000)
committerIan.Campbell@xensource.com <Ian.Campbell@xensource.com>
Fri, 13 Jan 2006 14:59:40 +0000 (14:59 +0000)
commit82f5d7e034952c4c035682c4ba8ed74158234e14
tree56f9c0e34e0c47aa97ebfcaf8e9d4b2166761113
parent723bbd528ff0bcfb7c8dda05486aa69fbf0080f3
Debug keyhandlers for triggering an NMI and examine current NMI state.

Add 'N' keyhandler to dump the current per CPU NMI counts and the
current NMI mask/pending status.

Add 'n' keyhandler to trigger an NMI by sending an IPI. For some
reason the destination shorthand for self is not valid when used with
the NMI delivery mode so we send the IPI to our own APIC ID
explicitly.

Signed-off-by: Ian Campbell <Ian.Campbell@XenSource.com>
xen/arch/x86/nmi.c
xen/common/keyhandler.c